import type { RouteRecordRaw } from 'vue-router';

import { BasicLayout } from '#/layouts';

const Routes: RouteRecordRaw[] = [
  {
    component: BasicLayout,
    meta: {
      icon: 'lucide:layout-dashboard',
      order: 2,
      title: '数量管理',
    },
    name: 'SLGLPage',
    path: '/YuanTong/slgl',
    children: [
      {
        name: 'khgx',
        path: '/YuanTong/slgl/khgx',
        component: () => import('#/views/YuanTong/slgl/khgx.vue'),
        meta: {
          affixTab: true,
          icon: 'lucide:area-chart',
          title: '客户关系',
        },
      },
      {
        name: 'gxmd',
        path: '/YuanTong/slgl/gxmd',
        component: () => import('#/views/YuanTong/slgl/gxmd.vue'),
        meta: {
          icon: 'carbon:workspace',
          title: '共享面单',
        },
      },
      {
        name: 'ywygl',
        path: '/YuanTong/slgl/ywygl',
        component: () => import('#/views/YuanTong/slgl/ywygl.vue'),
        meta: {
          icon: 'carbon:workspace',
          title: '业务员管理',
        },
      },
    ],
  },
];

export default Routes;
